﻿@{
    Layout = "~/Views/Shared/_LayoutMain.cshtml";
    ViewBag.Title = "网非e学院--课程评价";
    var commentList = ViewBag.CommentList as List<XZL.Web.Da.Proc_Comment_MyCommentResult>;
}

<div class="ci_Title">
    <span class="hp_TypeNav">课程评价</span>
</div>
<div>
            @foreach (var item in commentList)
        {
            <div class="cm_CommentItem" onclick="document.location='../../Course/CourseInfo?CourseID=@item.CourseID&InviteID=@ViewBag.InviteID'">
                <div class="cm_CommentLeft">
                    <img class="cm_CommentImg" src="@item.HeadPortrait" />
                </div>
                <div class="cm_CommentRight">
                    <div class="cm_CommentNick">
                        <div class="cm_CommentNickText">@item.CourseName</div>
                            <div class="cm_CommentParise" id="@item.CommentID">
                                <img src="~/Image/logoParise.png" width="16" height="16" />&nbsp;
                            </div>
                            <div class="cm_CommentPariseNum">
                                @item.PraiseNum
                            </div>
                        </div>
                    <div class="cm_CommentContent">@item.CommentContent</div>
                    <div class="cm_CommentTime">@item.CreateTime</div>
                    @if (item.ReplyContent != null && item.ReplyContent != "")
                    {
                        <div class="cm_CommentNick">管理员回复：</div>
                        <div class="cm_CommentContent">@item.ReplyContent</div>
                        <div class="cm_CommentTime">@item.ReplyTime</div>
                    }
                </div>
            </div>
        }
</div>

<script>
    //底部导航选中
    $("#ImgWode").attr("src", "../../Image/logoWodeSel.png");
</script>